const mysql = require('mysql')
// const db = mysql.createPool({
//   host: '127.0.0.1',
//   port: 3306,
//   user: 'root',
//   password: '123456',
//   database: 'yuliang_hr'
// })
const db = mysql.createPool({
  host: '47.122.77.26',
  port: 3306,
  user: 'yuliang',
  password: 'Rhr010821',
  database: 'yuliang'
})

module.exports = db